package com.dragon.service;

import com.dragon.pojo.Problem.*;
import org.springframework.stereotype.Service;

@Service
public interface ProblemService {
    ProblemListResult getProblemList(ProblemSelectInfo info);

    Problem getProblemInfo(Integer problemId, Integer userId);

    void addProblem(Problem problem);


    void deleteProblem(Integer problemId);

    SubmitResult submit(SubmitInfo info);

    void updateProblem(Problem problem);

    Problem getAllProblemInfo(Integer problemId);

    String testSubmit(SubmitInfo info);
}
